package tables

type UserReward struct {
	Id         int    `xorm:"not null pk autoincr INT(10)" json:"id" form:"id" mapstructure:"id"`
	Acid       int    `xorm:"" json:"acid" form:"acid" mapstructure:"acid"`
	GoodsId    int    `xorm:"" json:"goods_id" form:"goods_id" mapstructure:"goods_id"`
	GoodsTitle string `xorm:"" json:"goods_title" form:"goods_title" mapstructure:"goods_title"`
	Type       int    `xorm:"" json:"type" form:"type" mapstructure:"type"`
	UserId     int    `xorm:"" json:"user_id" form:"user_id" mapstructure:"user_id"`
	OrderNo    string `xorm:"" json:"order_no" form:"order_no" mapstructure:"order_no"`
	Openid     string `xorm:"" json:"openid" form:"openid" mapstructure:"openid"`
	Nickname   string `xorm:"" json:"nickname" form:"nickname" mapstructure:"nickname"`
	Avatar     string `xorm:"" json:"avatar" form:"avatar" mapstructure:"avatar"`
	Amount     string `xorm:"" json:"amount" form:"amount" mapstructure:"amount"`
	FromId     int    `xorm:"" json:"from_id" form:"from_id" mapstructure:"from_id"`
	State      int    `xorm:"" json:"state" form:"state" mapstructure:"state"`
	Remark     string `xorm:"" json:"remark" form:"remark" mapstructure:"remark"`
	FailMsg    string `xorm:"" json:"fail_msg" form:"fail_msg" mapstructure:"fail_msg"`
	SendTime   int    `xorm:"" json:"send_time" form:"send_time" mapstructure:"send_time"`
	CreatedAt  int    `xorm:"created" json:"created_at" form:"created_at" mapstructure:"created_at"`
	UpdatedAt  int    `xorm:"updated" json:"updated_at" form:"updated_at" mapstructure:"updated_at"`
	DeletedAt  int    `xorm:"deleted" json:"deleted_at" form:"deleted_at" mapstructure:"deleted_at"`
}
